How to install Capella and Addons ?

Capella Installation

Prerequisites Needed for Install

For a successful installation of Capella, your computer must meet the following recommended requirements:

Capella requires a Java Runtime Environment (version 1.8 or later) installed in the computer: Recommended version is JRE 8u121

Capella Installation Procedure

Before starting the installation, the target location of Capella must be cleaned:

  1. The previous Capella version must be correctly uninstalled (See related section)
  2. All manual patches/extensions must be removed
  3. Download Capella and extract it in a given directory

Note : See Restriction

Verification Installation Procedure

The Capella installation is successful if the archive extraction finished without errors.

Workaround to open the Help Content when there is problem with the browser

Sometimes due to security policy, the web browser has problem on opening local host web pages. This is the case of the Help Content page when it is accessed via the 127.0.0.1 IP address. Here are 2 possible workarounds to overcome this problem:

Addons Installation

There are 3 ways to install addons :

  1. Simple installation
    1. Unzip the archive of the addon in your Capella "dropins" directory
  2. External installation
    1. Unzip the archive of the addon in a directory
    2. Add -Dorg.eclipse.equinox.p2.reconciler.dropins.directory=<myAddonsDirectory> at the end of the eclipse.ini file (after -vm)
  3. Multiple contexts installation

  • Dropins location in Context_A directory

-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=D:\CapellaContexts\Context_A\dropins

  • Configuration location for Context_A in the user's specific directory

-Dosgi.configuration.area=@user.home/.../Capella/Context_A/configuration

  • Default workspace location for Context_A in user's specific directory

-Dosgi.instance.area.default=@user.home/../Capella/Context_A/workspace

  • Dropins location in Context_A directory

-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=D:\CapellaContexts\Context_B\dropins

  • Configuration location for Context_A in user's specific directory

-Dosgi.configuration.area=@user.home/.../Capella/Context_B/configuration

  • Default workspace location for Context_B in user's specific directory

-Dosgi.instance.area.default=@user.home/../Capella/Context_B/workspace

The extensions for Capella requires the installation of the following software:

Note:Make sure that the addon/extension is compatible with your current version of Capella.

Addons

The installation procedure is the same for all addons.

As Dropin

To manually install your addon:

Check that the extraction process has finished without error.

- Make sure that the installed addon as dropin has a valid structure. The structure is similar to:

  • <addon name>\eclipse\plugins\*
  • <addon name>\eclipse\features\*

- The structure is different from the one of an update site. The update site does have the artifacts.jar and content.jar which might cause problems for installing a plug-in.

As Update Site

Verification

The following procedure for verifying the successful installation of addons, assumes that Capella is well installed and fully functional.

Plugins Verification

- After updating the installation of Capella, do not forget to restart the application with the option -clean. Remove this option for the next times to avoid starting performance issues.

- Do not forget to switch to a new workspace when the configuration is modified, since some information are cached by Eclipse (Java version, etc...).

Restriction

Capella is based on Eclipse: folder hierarchy and namespace of Capella and Eclipse plugins are quite long. Because of Windows folder path restriction, avoid entering a long installation location.

In case the path is too long, some files can not be opened by Capella and this will cause errors. Since the extraction will raise an error you should delete the partially extracted files and re-extract it.

Example in the Description Section .

The limit is 115 characters in the path of the Capella directory to the eclipse folder: <CAPELLA_INSTALLATION_DIR>/eclipse.

Note: the "space" character is counted like three characters (%20).